package org.example.rowing.vo;

import lombok.Data;
import org.example.rowing.domain.Event;
import org.example.rowing.enums.GenderEnum;

@Data
public class RaceVO {
    private Long id;

    // 比赛项目
    private String name;

    // 比赛距离
    private Integer distance;

    // 比赛类型
    private String raceType;

    // 比赛日期
    private String raceDate;

    // 性别
    private GenderEnum genderEnum;

    // 测功仪标识
    private Boolean isLongDistance;

    private EventVO eventVO;

    // 仅用于查询
    private String eventName;
    private String boatType;
    private Long eventId;

    public RaceVO() {
    }

    public RaceVO(Long id, String name, Integer distance, String raceType, String raceDate, GenderEnum genderEnum, EventVO eventVO, Boolean isLongDistance) {
        this.id = id;
        this.name = name;
        this.distance = distance;
        this.raceType = raceType;
        this.raceDate = raceDate;
        this.genderEnum = genderEnum;
        this.eventVO = eventVO;
        this.isLongDistance = isLongDistance;
    }
}
